<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of recent
 *
 * @author IT
 */
class recent extends connection{
    function baiganday(){
        $query = "SELECT * FROM articles ORDER BY id DESC LIMIT 5";
        $data = $this->laydulieu($query);
        return $data;
    }
}
